body {
    font-family: Arial, sans-serif;
    background-color: #f2f2f2;
}


.container {
    display: flex;
    justify-content: center;
    max-width: 860px;
    margin: 0 auto;
}

.calculator {
    max-width: 400px;
    background-color: white;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-right: 20px;
}

.interest-calculator {
    max-width: 400px;
    background-color: white;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.calculator-title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 10px;
}

.display {
    text-align: right;
    font-size: 24px;
    padding: 5px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
#expression {
    font-size: 24px;  /* 将字体大小设置为 24px */
}

#result {
    font-size: 18px;  /* 保持字体大小为 18px */
}

.button-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 将列数改为6 */
    grid-gap: 5px;
}

.button {
    font-size: 16px;
    padding: 10px;
    text-align: center;
    background-color: #f2f2f2;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
}

.button.orange {
    background-color: #fcb70a;
}

.button.green {
    background-color: green;
}

.button.yellow {
    background-color: #fecc11;
}

.button.grey {
    background-color: grey;
}

.button.lightblue {
    background-color: lightblue;
}

.button.lightgreen {
    background-color: lightgreen;
}

.button.darkblue {
    background-color: #61649f;
}

.button.darkgreen {
    background-color: #12aa9c;
}
